package com.xh.audit.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类。
 * 知识共享交流 前端控制器
 *
 * @author LHL
 * @since 2023-10-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "knowledge_sharing_and_exchange", schema = "audit")
public class KnowledgeSharingAndExchange implements Serializable {

    /**
     * 主键
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 1话题/2资源,字典
     */
    private Integer type;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容/描述
     */
    private String desc;

    /**
     * 附件表 id,多个
     */
    private String files;

}
